package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.SyncTagJob;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SyncTagJobMapper {
    int deleteById(Long id);

    int insert(SyncTagJob record);

    int insertSelective(SyncTagJob record);

    SyncTagJob selectById(Long id);

    SyncTagJob selectByDeviceUniqueIdAndStatus(@Param("deviceUniqueId") Long deviceUniqueId, @Param("status") Integer status);

    int updateByIdSelective(SyncTagJob record);

    int updateById(SyncTagJob record);
}